// @ts-ignore

/* eslint-disable */
import { request } from 'umi';

/** 查询企业关联风险事件 GET /api/associateEvent */
export async function getAssociateEvent(params, options) {
  console.log(params, options);
  return request('/api/associateEvent', {
    method: 'GET',
    params: { ...params },
    ...(options || {}),
  });
}

/** 查询企业关联实体 GET /api/ep/equityNetwork */
export async function getAssociateEntity(params, options) {
  console.log(params, options);
  return request('/api/ep/equityNetwork', {
    method: 'GET',
    params: { ...params },
    ...(options || {}),
  });
}

/** 查询两个企业间的关联路径 GET /api/associatePath */
export async function getAssociatePath(params, options) {
  console.log(params, options);
  return request('/api/mq/associatePath', {
    method: 'GET',
    params: { ...params },
  });
}
